package cn.com.blueInfo.bpm.common.controller;

import cn.com.blueInfo.utils.error.BusinessException;

/**
 * @author suxch
 * @since 2025/9/7 0:43
 */
public class BaseController {

    protected void validateUpdateId(Long pathId, Long baseId) {
        if (!pathId.equals(baseId)) {
            throw new BusinessException(500, "更新ID异常，不能执行更新");
        }
    }

}
